package com.ruoyi.job.task;

import com.ruoyi.common.core.utils.StringUtils;
import com.ruoyi.teaching.api.RemoteDailyTaskService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 定时任务调度测试
 *
 * @author ruoyi
 */
@Component("dailyTask")
public class DailyTask
{
    @Autowired
    private RemoteDailyTaskService remoteDailyTaskService;
    public void create()
    {
        remoteDailyTaskService.create();
    }

    public void autoCheck()
    {
        remoteDailyTaskService.autoCheck();
    }
}
